import request from '@/utils/request'

// 查询活动-报名列表
export function listActivitySignUp(query) {
  return request({
    url: '/member/activitySignUp/list',
    method: 'get',
    params: query
  })
}

// 查询活动-报名详细
export function getActivitySignUp(id) {
  return request({
    url: '/member/activitySignUp/' + id,
    method: 'get'
  })
}

// 新增活动-报名
export function addActivitySignUp(data) {
  return request({
    url: '/member/activitySignUp',
    method: 'post',
    data: data
  })
}

// 修改活动-报名
export function updateActivitySignUp(data) {
  return request({
    url: '/member/activitySignUp',
    method: 'put',
    data: data
  })
}

// 删除活动-报名
export function delActivitySignUp(id) {
  return request({
    url: '/member/activitySignUp/' + id,
    method: 'delete'
  })
}

// 导出活动-报名
export function exportActivitySignUp(query) {
  return request({
    url: '/member/activitySignUp/export',
    method: 'get',
    params: query
  })
}